﻿using Entiy;
using IBLL;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace IOCDemo.Controllers
{
    public class FirstController : Controller
    {
        IUser_BLL _user_BLL1;
        public FirstController(IUser_BLL user_BLL)
        {
            _user_BLL1 = user_BLL;
        }
        public IActionResult Index(int id)
        {
            User user = _user_BLL1.Getuser(id);
            return View();
        }
    }
}
